projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37dc91f
)
Normalize boolean.
author
Ignacio Casal Quinteiro
<icq@gnome.org>
Mon, 1 Nov 2010 21:59:21 +0000
(22:59 +0100)
committer
Ignacio Casal Quinteiro
<icq@gnome.org>
Mon, 1 Nov 2010 21:59:21 +0000
(22:59 +0100)
gtk/gtktextbuffer.c
patch
|
blob
|
history
diff --git
a/gtk/gtktextbuffer.c
b/gtk/gtktextbuffer.c
index 7602b9d9d55754b75bfcbbb9c5aea0db361a0801..f1cd6f5098d8506fd5a4cbf4b47ad7ec42136e22 100644
(file)
--- a/
gtk/gtktextbuffer.c
+++ b/
gtk/gtktextbuffer.c
@@
-78,7
+78,6
@@
struct _ClipboardRequest
GtkTextBuffer *buffer;
guint interactive : 1;
guint default_editable : 1;
- guint is_clipboard : 1;
guint replace_selection : 1;
};
@@
-3784,7
+3783,7
@@
gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer,
data->buffer = g_object_ref (buffer);
data->interactive = TRUE;
- data->default_editable = default_editable;
+ data->default_editable =
!!
default_editable;
/* When pasting with the cursor inside the selection area, you
* replace the selection with the new text, otherwise, you